package com.baiyi.cloud.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;

import de.codecentric.boot.admin.server.config.EnableAdminServer;

@Configuration
@EnableApolloConfig
@EnableAdminServer
@EnableDiscoveryClient 
@SpringBootApplication (exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) 
public class MonitorApp {
	public static void main(String[] args) {
		SpringApplication.run(MonitorApp.class, args);
	}

}
